<%--
  Created by IntelliJ IDEA.
  Date: 2017/3/31
  Time: 10:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="X-UA-COMPATIBLE" content="ie=edge">
  <title>document</title>
</head>
<body>
<sf:form method="post" modelAttribute="user" enctype="multipart/form-data">
    UserName:<sf:input path="username"/><br/>
    NickName:<sf:input path="nickname"/><br/>
    PassWord:<sf:password path="password"/><br/>
    Attach:<input type="file" name="attach" path="">
    <input type="submit" value="添加用户"><br/>

</sf:form>
</body>
</html>
